package com.mp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mp.pojo.VO.WebsiteGameVO;
import com.mp.pojo.WebsiteGame;

import java.util.List;

/**
 * @author Ace
 * 2019/8/22
 */
public interface WebsiteGameMapper extends BaseMapper<WebsiteGame> {

    /**
     * 获取站点游戏
     * @param websiteId
     * @param adminId
     * @return
     */
    List<WebsiteGameVO> getWebsiteGameList(Integer websiteId,Integer adminId);

    /**
     * 获取游戏信息
     * @param websiteGameId
     * @param adminId
     * @return
     */
    WebsiteGameVO getGameInfo(Integer websiteGameId,Integer adminId);

    /**
     * 删除飞单记录
     * @param websiteUserId
     * @param websiteGameId
     * @param delAmount
     * @return
     */
    boolean delWebsiteFlyRecord(Integer websiteUserId, Integer websiteGameId, Integer delAmount);
}
